home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / MacsBug OSA / source code / MacsBug.r < prev    next >
Encoding:
Text File  |  1997-06-27  |  49.3 KB  |  1,496 lines  |  [TEXT/MPS ]

  1. //--------------------------------------------------------------------------------------------------
  2. // MacsBug.r
  3. // Copyright © 1991-96 by Apple Computer, Inc. All rights reserved. 
  4. //
  5. //    Resource File for the MacsBug Sample Program. 
  6. //--------------------------------------------------------------------------------------------------
  7.  
  8. /*
  9.     Change History:
  10.         ----- R11 -----
  11.         06/26/96    mdr        Install release marker.  Scope many globals.  Change TRUE/FALSE/NULL.
  12.         06/01/96    gjc        [1327013] Signature and BNDL information should be SS02 - It was using 
  13.                             the default values, which conflict with "Nothing". SS02 is not taken by 
  14.                             any of the MacApp examples.
  15.         ----- R10 -----
  16.         03/19/96    srf        Correct #ifndefs that have trailing whitespace or comments
  17.         12/29/95    srf        removed #if SystemSevenOrLater. We require system 7 or later!
  18.         12/29/95    srf        All alerts and dialogs have been resized and had contents moved to
  19.                             comply with "Macintosh Human Interface Guidelines" - chapter 6 and
  20.                             "Inside Macintosh - Macintosh ToolBox Essentials" - chapter 6.
  21.         12/13/95    TWB        Move HelpStrings.r to includes. 
  22.         10/24/95    gjc        Added default 'aete' resource
  23.          9/27/95    mdr        Added MW_Rez test for CW7 IDE support.
  24.         ----- 3.3b1 -----
  25.          5/15/95    srf        CFM-68K support. 
  26.          3/21/95    TWB        Don't use $$Shell from Rainbow. 
  27.          3/16/95    TWB        Use macros from MacAppVersion.h. 
  28.         10/14/94    TWB        Use qNoCode. 
  29.          7/18/94    TWB        Remove version number from signature. 
  30.          7/13/94    TWB        Update version to 3.1.1. 
  31. */
  32.  
  33. //--------------------------------------------------------------------------------------------------
  34. // INCLUDE FILES 
  35. //--------------------------------------------------------------------------------------------------
  36.  
  37. // Standard Includes 
  38.  
  39. #ifndef __TYPES_R__
  40. #include "Types.r"
  41. #endif
  42.  
  43. #ifndef __SYSTYPES_R__
  44. #include "SysTypes.r"
  45. #endif
  46.  
  47. #ifndef __AEUSERTERMTYPES__
  48. #include "AEUserTermTypes.r"
  49. #endif
  50.  
  51. #ifndef __AEREGISTRY.R__
  52. #include "AERegistry.r"
  53. #endif
  54.  
  55. #ifndef __APPLEEVENTS_R__
  56. #include "AppleEvents.r"
  57. #endif
  58.  
  59. #ifndef __BalloonTypes__
  60. #include "BalloonTypes.r"
  61. #endif
  62.  
  63. #ifndef __MACAPPVERSION__
  64. #include "MacAppVersion.h"
  65. #endif
  66.  
  67. #ifndef __MacAppTypes__
  68. #include "MacAppTypes.r"
  69. #endif
  70.  
  71. #ifndef __ViewTypes__
  72. #include "ViewTypes.r"
  73. #endif
  74.  
  75. // Application Includes
  76.  
  77. #ifndef __MACSBUG_R_H__
  78. #include "MacsBug.r.h"
  79. #endif
  80.  
  81. //--------------------------------------------------------------------------------------------------
  82. // CONSTANTS 
  83. //--------------------------------------------------------------------------------------------------
  84.  
  85. // Finder Information
  86. // ------------------
  87.  
  88. #if !defined(THINK_Rez) && !defined(MW_Rez)
  89. #define kApplicationName    $$Shell("XAppName")
  90. #else
  91. #define kApplicationName    TARGET_APPLICATION_NAME
  92. #endif // !THINK_Rez
  93.  
  94. //--------------------------------------------------------------------------------------------------
  95. // Resources
  96. //--------------------------------------------------------------------------------------------------
  97.  
  98. #ifndef THINK_Rez
  99. #if qDebug | qPerform
  100. include "Debug.rsrc" not 'ckid';
  101. #endif
  102.  
  103. include "Dialog.rsrc" not 'ckid';
  104. include "MacApp.rsrc" not 'ckid';
  105.  
  106. // Includes for Building Blocks
  107.  
  108. include "Printing.rsrc" not 'ckid';
  109.  
  110. // Include Code Resources
  111.  
  112. #ifndef MW_Rez
  113. #if !qNoCode
  114. include $$Shell("ObjApp")$$Shell("XAppName") 'CODE';
  115. #if qModelCFM
  116. include $$Shell("ObjApp")$$Shell("XAppName") 'cfrg';
  117. include $$Shell("ObjApp")$$Shell("XAppName") 'rseg';
  118. #endif
  119. #endif
  120. #endif
  121. #endif //!THINK_Rez
  122.  
  123. //--------------------------------------------------------------------------------------------------
  124. // RESOURCES FOR MENUS 
  125. //--------------------------------------------------------------------------------------------------
  126.  
  127. //--------------------------------------------------------------------------------------------------
  128. // Menu Bars 
  129. //--------------------------------------------------------------------------------------------------
  130.  
  131. resource 'MBAR' (kMBarDisplayed,
  132. #if qNames
  133. kApplicationName,
  134. #endif
  135.     purgeable) {
  136.     { mApple; mFile }
  137. };
  138.  
  139. //--------------------------------------------------------------------------------------------------
  140. // Menus 
  141. //--------------------------------------------------------------------------------------------------
  142.  
  143. include "Defaults.rsrc" 'CMNU' (mApple);    // Grab the default Apple menus
  144. //include "Defaults.rsrc" 'CMNU' (mFile);        // Grab the default File menus
  145. //include "Defaults.rsrc" 'CMNU' (mEdit);        // Grab the default Edit menu
  146.  
  147. resource 'CMNU' (mFile,
  148. #if qNames
  149. "mFile",
  150. #endif
  151. purgeable) {
  152.     mFile,
  153.     textMenuProc,
  154.     EnablingManagedByMacApp,
  155.     enabled,
  156.     "File",
  157.     {
  158.     "Quit",                noIcon, "Q",    noMark, plain, cQuit
  159.     }
  160. };
  161.  
  162.  
  163. resource 'CMNU' (mBuzzwords,
  164. #if qNames
  165. "Buzzwords",
  166. #endif
  167. purgeable
  168. ) {
  169.     mBuzzwords,
  170.     textMenuProc,
  171.     EnablingManagedByMacApp,
  172.     enabled,
  173.     "Buzzwords",
  174.      {    /* array: 13 elements */
  175.         "Page Setup Change",    noIcon,    noKey,    noMark, plain, cChangePrinterStyle;
  176.         "Typing",                noIcon,    noKey,    noMark,    plain, cTyping;
  177.         "Tracker Command",        noIcon,    noKey,    noMark, plain, cTrackerCommand;
  178.     }
  179. };
  180.  
  181. //--------------------------------------------------------------------------------------------------
  182. // About Box
  183. //--------------------------------------------------------------------------------------------------
  184.  
  185. resource 'DITL' (phAboutApp,
  186. #if qNames
  187. "phAboutApp",
  188. #endif
  189.     purgeable) {
  190.      {    /* array DITLarray: 3 elements */
  191.         /* [1] */
  192.         {167, 288, 187, 348},
  193.         Button {
  194.             enabled,
  195.             "OK"
  196.         };
  197.         /* [2] */
  198.         {10, 75, 154, 348},
  199.         StaticText {
  200.             disabled,
  201.             "This hack demonstrates scripting with MacsBug."
  202.             "\n"
  203.             WRITTEN_WITH_MACAPP
  204.         };
  205.         /* [3] */
  206.         {10, 20, 42, 52},
  207.         Icon {
  208.             disabled,
  209.             noteIcon
  210.         }
  211.     }
  212. };
  213.  
  214. include "Defaults.rsrc"  'ALRT' (phAboutApp);        // Grab the default about box
  215. ///////include "Defaults.rsrc"    'aete' (0);                    // Grab the default AppleEvent terminology
  216. include "Defaults.rsrc"  'STR#' (kDefaultCredits);    // Grab the default credits
  217.  
  218.  
  219. //--------------------------------------------------------------------------------------------------
  220. // MultiFinder™ information
  221. //--------------------------------------------------------------------------------------------------
  222.  
  223. /* Additional size deltas to be added to partition size */
  224.  
  225. #if qNames
  226. #define kNamesSizeDelta 75
  227. #else
  228. #define kNamesSizeDelta 0
  229. #endif
  230.  
  231. #if qDebug
  232. #define kDebugSizeDelta 0
  233. #else
  234. #define kDebugSizeDelta 0
  235. #endif
  236.  
  237. #if qModelFarCode
  238. #define kModelFarSizeDelta 0
  239. #else
  240. #define kModelFarSizeDelta 0
  241. #endif
  242.  
  243. resource 'SIZE' (-1) {
  244.     saveScreen,
  245.     acceptSuspendResumeEvents,
  246.     enableOptionSwitch,
  247.     canBackground,
  248.     doesActivateOnFGSwitch,
  249.     backgroundAndForeground,
  250.     dontGetFrontClicks,
  251.     ignoreAppDiedEvents,
  252.     is32BitCompatible,
  253.     isHighLevelEventAware,
  254.     localAndRemoteHLEvents,
  255.     notStationeryAware,                
  256.     reserved,
  257.     reserved,
  258.     reserved,
  259.     reserved,
  260.     
  261.     /* Suggested partition size */
  262.     (1000 + kNamesSizeDelta + kDebugSizeDelta + kModelFarSizeDelta) * 1024,
  263.     
  264.     /* Minimum partition size */
  265.     (800 + kNamesSizeDelta + kDebugSizeDelta + kModelFarSizeDelta) * 1024
  266. };
  267.  
  268. //--------------------------------------------------------------------------------------------------
  269. // Icons
  270. //--------------------------------------------------------------------------------------------------
  271.  
  272. include "Defaults.rsrc"  'ICN#' (kApplicationID);    // MacApp Family large black & white    
  273. include "Defaults.rsrc"  'ICN#' (kDocumentID);        // MacApp Document large black & white
  274. include "Defaults.rsrc"  'ICN#' (kStationeryID);    // MacApp Stationery large black & white    
  275. include "Defaults.rsrc"  'ics#' (kApplicationID);    // MacApp Family small black & white    
  276. include "Defaults.rsrc"  'ics#' (kDocumentID);        // MacApp Document small black & white
  277. include "Defaults.rsrc"  'ics#' (kStationeryID);    // MacApp Stationery small black & white
  278. include "Defaults.rsrc"  'ics4' (kApplicationID);    // MacApp Family small 4 bit
  279. include "Defaults.rsrc"  'ics4' (kDocumentID);        // MacApp Document small 4 bit
  280. include "Defaults.rsrc"  'ics4' (kStationeryID);    // MacApp Stationery small 4 bit
  281. include "Defaults.rsrc"  'ics8' (kApplicationID);    // MacApp Family small 4 bit
  282. include "Defaults.rsrc"  'ics8' (kDocumentID);        // MacApp Document small 4 bit
  283. include "Defaults.rsrc"  'ics8' (kStationeryID);    // MacApp Stationery small 4 bit
  284. include "Defaults.rsrc"  'icl4' (kApplicationID);    // MacApp Family large 4 bit
  285. include "Defaults.rsrc"  'icl4' (kDocumentID);        // MacApp Document large 4 bit
  286. include "Defaults.rsrc"  'icl4' (kStationeryID);    // MacApp Stationery large 4 bit
  287. include "Defaults.rsrc"  'icl8' (kApplicationID);    // MacApp Family large 8 bit
  288. include "Defaults.rsrc"  'icl8' (kDocumentID);        // MacApp Document large 8 bit
  289. include "Defaults.rsrc"  'icl8' (kStationeryID);    // MacApp Stationery large 8 bit
  290.  
  291. //--------------------------------------------------------------------------------------------------
  292. // Memory usage information for MacsBug
  293. //--------------------------------------------------------------------------------------------------
  294.  
  295. // See UMemory.h
  296. // -------------
  297.  
  298. resource 'seg!' (kMacsBugSeg,
  299. #if qNames
  300. kApplicationName,
  301. #endif
  302.     purgeable) {
  303.     {
  304.         "ARes";
  305.         "GNonRes";
  306.         "GClose";
  307.         "GFile";
  308.         "GOpen";
  309.         "GSelCommand";
  310.         "GDoCommand";
  311.         "BBNonRes";
  312.         "BBOpen";
  313.         "GNonRes2";
  314.         "GPrint";
  315.         "GReadResource";
  316.         "foo";
  317.     }
  318. };
  319.  
  320. // Additional Resident Segments
  321. // ----------------------------
  322.  
  323. resource 'res!' (kMacsBugRes,
  324. #if qNames
  325.     kApplicationName,
  326. #endif
  327.     purgeable) {
  328.     {    
  329.         "ARes";
  330.         "MacsBugRes1";
  331.         "MacsBugRes2";
  332.     };
  333. };
  334.  
  335. // Code fragment resource for PowerPC native apps
  336. // ----------------------------------------------
  337. #if qPowerPC
  338. #include "CodeFragmentTypes.r"
  339.  
  340. resource 'cfrg' (0, "Configuration Info") {
  341.     {
  342.         kPowerPC,
  343.         kFullLib,
  344.         kNoVersionNum,
  345.         kNoVersionNum,
  346.         0,
  347.         0,
  348.         kIsApp,
  349.         kOnDiskFlat,
  350.         kZeroOffset,
  351.         kWholeFork,
  352.         "MacsBug"
  353.     }
  354. };
  355. #endif
  356.  
  357. //--------------------------------------------------------------------------------------------------
  358. // Icons, Bundles and FRefs… Oh my! (don't forget the Signature)
  359. //--------------------------------------------------------------------------------------------------
  360.  
  361. type kSignature as 'STR ';
  362. resource kSignature (0,
  363. #if qNames
  364. "Signature",
  365. #endif
  366.     purgeable) {
  367.     "MacsBug ©Apple Computer, Inc. 1988-95"
  368. };
  369.  
  370. resource 'FREF' (kApplicationID,
  371. #if qNames
  372. "MacsBug Application",
  373. #endif
  374.     purgeable) {
  375.     'APPL',
  376.     0,
  377.     ""
  378. };
  379.  
  380. resource 'FREF' (kDocumentID,
  381. #if qNames
  382. "MacsBug Document",
  383. #endif
  384.     purgeable) {
  385.     kFileType,
  386.     1,
  387.     ""
  388. };
  389.  
  390. resource 'FREF' (kStationeryID,
  391. #if qNames
  392. "MacsBug Stationery",
  393. #endif
  394.     purgeable) {
  395.     kStationery,
  396.     2,
  397.     ""
  398. };
  399.  
  400. resource 'BNDL' (kBundleID,
  401. #if qNames
  402. "MacsBug",
  403. #endif
  404.     purgeable) {
  405.     kSignature,
  406.     0,
  407.     { /* array TypeArray: 2 elements */
  408.         /* [1] */
  409.         'ICN#',
  410.         { /* array IDArray: 3 elements */
  411.             0, kApplicationID,
  412.             1, kDocumentID,
  413.             2, kStationeryID
  414.         },
  415.         /* [2] */
  416.         'FREF',
  417.         { /* array IDArray: 3 elements */
  418.             0, kApplicationID,
  419.             1, kDocumentID,
  420.             2, kStationeryID
  421.         }
  422.     }
  423. };
  424.  
  425. //--------------------------------------------------------------------------------------------------
  426. //  Version resources
  427. //--------------------------------------------------------------------------------------------------
  428.  
  429. // The revision of this particular file
  430.  
  431. RESOURCE 'vers' (1,
  432. #if qNames
  433. "File Version",
  434. #endif
  435.     purgeable) {
  436.     0x01,
  437.     0x01,
  438.     development,
  439.     0x01,
  440.     verUs,
  441.     "1.1d1",
  442.     "MacsBug 1.1d1, ©Apple Computer, Inc. 1988-95"
  443. };
  444.  
  445. include "Defaults.rsrc"  'vers' (2);        // Overall package
  446.  
  447. //--------------------------------------------------------------------------------------------------
  448. // Scripting
  449. //--------------------------------------------------------------------------------------------------
  450.  
  451. resource 'aedt' (1000, 
  452. #if qNames
  453.     "MacsBug Events",
  454. #endif
  455.     purgeable) {
  456.     {    /* array: 1 elements */
  457.         /* [1] */
  458.         kAEMacsBug, kAEMacsBugHeapZones, cHeapZones,
  459.         kAEMacsBug, kAEMacsBugHeapCheck, cHeapCheck,
  460.         kAEMacsBug, kAEMacsBugHeapTotal, cHeapTotal,
  461.         kAEMacsBug, kAEMacsBugHeapDisplay, cHeapDisplay
  462.     }
  463. };
  464.  
  465. resource kAETerminologyExtension (0, 
  466. #if qNames
  467.     "English Terminology",
  468. #endif
  469.     purgeable) {
  470.     0x1,
  471.     0x0,
  472.     english,
  473.     roman,
  474.     {    /* array Suites: 4 elements */
  475.  
  476. //========================================================================================
  477. // Required Suite
  478. //========================================================================================
  479.  
  480.         /* [1] */
  481.         "Required Suite",
  482.         "Terms that every application should support",
  483.         kAERequiredSuite,
  484.         1,
  485.         1,
  486. //----------------------------------------------------------------------------------------
  487. // Events
  488. //----------------------------------------------------------------------------------------
  489.         {    /* array Events: 0 elements */
  490.         },
  491. //----------------------------------------------------------------------------------------
  492. // Classes
  493. //----------------------------------------------------------------------------------------
  494.         {    /* array Classes: 0 elements */
  495.         },
  496. //----------------------------------------------------------------------------------------
  497. // ComparisonOps
  498. //----------------------------------------------------------------------------------------
  499.         {    /* array ComparisonOps: 0 elements */
  500.         },
  501. //----------------------------------------------------------------------------------------
  502. // Enumerations
  503. //----------------------------------------------------------------------------------------
  504.         {    /* array Enumerations: 0 elements */
  505.         },
  506.  
  507. //========================================================================================
  508. // Standard Suite
  509. //========================================================================================
  510.  
  511.         /* [2] */
  512.         "Standard Suite",
  513.         "Common terms for most applications",
  514.         'CoRe',
  515.         1,
  516.         1,
  517. //----------------------------------------------------------------------------------------
  518. // Events
  519. //----------------------------------------------------------------------------------------
  520.         {    /* array Events: 14 elements */
  521.             /* [1] */
  522.         "close", "Close an object", kAECoreSuite, kAEClose, noReply,
  523.             "",
  524.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  525.             typeObjectSpecifier,
  526.             "the object to close",
  527.             directParamRequired, singleItem, notEnumerated, changesState, Reserved12,
  528.             {    /* array OtherParams: 2 elements */
  529.                 /* [1] */
  530.             "saving", keyAESaveOptions, enumSaveOptions,
  531.                 "specifies whether changes should be saved before closing",
  532.                 optional, singleItem, enumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular,
  533.                 /* [2] */
  534.             "saving in", keyAEFile, typeAlias,
  535.                 "the file in which to save the object",
  536.                 optional, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular
  537.             },
  538.             /* [2] */
  539.         "count", "Return the number of elements of a particular class within an object",
  540.             kAECoreSuite, kAECountElements,
  541.             typeLongInteger,
  542.             "the number of elements",
  543.             replyRequired, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  544.             typeObjectSpecifier,
  545.             "the object whose elements are to be counted",
  546.             directParamRequired, singleItem, notEnumerated, doesntChangeState, Reserved12,
  547.             {    /* array OtherParams: 1 elements */
  548.                 /* [1] */
  549.             "each", keyAEObjectClass, cType,
  550.                 "the class of the elements to be counted",
  551.                 required, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular
  552.             },
  553.             /* [3] */
  554.         "data size", "Return the size in bytes of an object", kAECoreSuite, kAEGetDataSize,
  555.             cLongInteger,
  556.             "the size of the object in bytes",
  557.             replyRequired, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  558.             typeObjectSpecifier,
  559.             "the object whose data size is to be returned",
  560.             directParamRequired, singleItem, notEnumerated, doesntChangeState, Reserved12,
  561.             {    /* array OtherParams: 1 elements */
  562.                 /* [1] */
  563.             "as", keyAERequestedType, cType,
  564.                 "the data type for which the size is calculated",
  565.                 optional, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular
  566.             },
  567.             /* [4] */
  568.         "delete", "Delete an element from an object", kAECoreSuite, kAEDelete,
  569.             noReply,
  570.             "",
  571.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  572.             typeObjectSpecifier,
  573.             "the element to delete",
  574.             directParamRequired, singleItem, notEnumerated, changesState, Reserved12,
  575.             {    /* array OtherParams: 0 elements */
  576.             },
  577.             /* [5] */
  578.         "duplicate", "Duplicate objects(s)", kAECoreSuite, kAEClone,
  579.             typeObjectSpecifier,
  580.             "",
  581.             replyRequired, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  582.             typeObjectSpecifier,
  583.             "the object(s) to duplicate",
  584.             directParamRequired, singleItem, notEnumerated, changesState, Reserved12,
  585.             {    /* array OtherParams: 1 elements */
  586.                 /* [1] */
  587.             "to", keyAEInsertHere, typeInsertionLoc,
  588.                 "the new location for the object(s)",
  589.                 optional, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular
  590.             },
  591.             /* [6] */
  592.         "exists", "Verify if an object exists", kAECoreSuite, kAEDoObjectsExist,
  593.             typeBoolean,
  594.             "true if it exists, false if not",
  595.             replyRequired, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  596.             typeObjectSpecifier,
  597.             "the object in question",
  598.             directParamRequired, singleItem, notEnumerated, doesntChangeState, Reserved12,
  599.             {    /* array OtherParams: 0 elements */
  600.             },
  601.             /* [7] */
  602.         "make", "Make a new element", kAECoreSuite, kAECreateElement,
  603.             typeObjectSpecifier,
  604.             "to the new object(s)",
  605.             replyRequired, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  606.             noParams,
  607.             "",
  608.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  609.             {    /* array OtherParams: 4 elements */
  610.                 /* [1] */
  611.             "new", keyAEObjectClass, cType,
  612.                 "the class of the new element.",
  613.                 required, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular,
  614.                 /* [2] */
  615.             "at", keyAEInsertHere, typeInsertionLoc,
  616.                 "the location at which to insert the element",
  617.                 required, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular,
  618.                 /* [3] */
  619.             "with data", keyAEData, typeWildCard,
  620.                 "the initial data for the element",
  621.                 optional, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular,
  622.                 /* [4] */
  623.             "with properties", keyAEPropData, 'reco',
  624.                 "the initial values for the properties of the element",
  625.                 optional, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular
  626.             },
  627.             /* [8] */
  628.         "move", "Move object(s) to a new location", kAECoreSuite, kAEMove,
  629.             typeObjectSpecifier,
  630.             "to the object(s) after they have been moved",
  631.             replyRequired, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  632.             typeObjectSpecifier,
  633.             "the object(s) to move",
  634.             directParamRequired, singleItem, notEnumerated, changesState, Reserved12,
  635.             {    /* array OtherParams: 1 elements */
  636.                 /* [1] */
  637.             "to", keyAEInsertHere, typeInsertionLoc,
  638.                 "the new location for the object(s)",
  639.                 required, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular
  640.             },
  641.             /* [9] */
  642.         "open",
  643.             "Open the specified object(s)", kCoreEventClass, kAEOpen, noReply,
  644.             "",
  645.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  646.             typeObjectSpecifier,
  647.             "list of objects to open",
  648.             directParamRequired, singleItem, notEnumerated, changesState, Reserved12,
  649.             {    /* array OtherParams: 0 elements */
  650.             },
  651.             /* [10] */
  652.         "print",
  653.             "Print the specified object(s)", kCoreEventClass, kAEPrint, noReply,
  654.             "",
  655.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  656.             typeObjectSpecifier,
  657.             "list of objects to print",
  658.             directParamRequired, singleItem, notEnumerated, doesntChangeState, Reserved12,
  659.             {    /* array OtherParams: 0 elements */
  660.             },
  661.             /* [11] */
  662.         "quit",
  663.             "Quit an application program", kCoreEventClass, kAEQuitApplication, noReply,
  664.             "",
  665.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  666.             noParams,
  667.             "",
  668.             directParamOptional, singleItem, notEnumerated, doesntChangeState, Reserved12,
  669.             {    /* array OtherParams: 0 elements */
  670.             },
  671.             /* [12] */
  672.         "save",
  673.             "Save an object", kAECoreSuite, kAESave, noReply,
  674.             "",
  675.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  676.             typeObjectSpecifier,
  677.             "the object to save",
  678.             directParamRequired, singleItem, notEnumerated, changesState, Reserved12,
  679.             {    /* array OtherParams: 3 elements */
  680.                 /* [1] */
  681.             "in", keyAEFile, typeAlias,
  682.                 "the file in which to save the object",
  683.                 optional, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular,
  684.                 /* [2] */
  685.             "as", keyAEFileType, cType,
  686.                 "the file type of the document in which to save the data",
  687.                 optional, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular,
  688.                 /* [3] */
  689.             "makeCopy", keyAESaveCopy, cBoolean,
  690.                 "save a copy of the document without effecting the original",
  691.                 optional, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular
  692.             },
  693.             /* [13] */
  694.         "get",
  695.             "Get the data for an object", kAECoreSuite, kAEGetData, typeWildCard,
  696.             "the data from the object",
  697.             replyRequired, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  698.             typeObjectSpecifier,
  699.             "the object whose data is to be returned",
  700.             directParamRequired, singleItem, notEnumerated, doesntChangeState, Reserved12,
  701.             {    /* array OtherParams: 1 elements */
  702.                 /* [1] */
  703.             "as", keyAERequestedType, cType,
  704.                 "the desired types for the data, in order of preference",
  705.                 optional, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular
  706.             },
  707.             /* [14] */
  708.         "set",
  709.             "Set an object's data", kAECoreSuite, kAESetData, noReply,
  710.             "",
  711.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  712.             typeObjectSpecifier,
  713.             "the object to change",
  714.             directParamRequired, singleItem, notEnumerated, changesState, Reserved12,
  715.             {    /* array OtherParams: 1 elements */
  716.                 /* [1] */
  717.             "to", keyAEData, typeWildCard,
  718.                 "the new value",
  719.                 required, singleItem, notEnumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular
  720.             }
  721.         },
  722. //----------------------------------------------------------------------------------------
  723. // Classes
  724. //----------------------------------------------------------------------------------------
  725.         {    /* array Classes: 16 elements */
  726.             /* [1] */
  727.         "application", cApplication,
  728.             "An application program",
  729.             {    /* array Properties: 8 elements */
  730.                 /* [1] */
  731.             "clipboard", pClipboard, typeWildCard,
  732.                 "the clipboard", reserved,
  733.                 listOfItems,
  734.                 notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  735.                 /* [2] */
  736.             "frontmost", pIsFrontProcess, typeBoolean,
  737.                 "Is this the frontmost application?", reserved,
  738.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  739.                 /* [3] */
  740.             "name", pName, typeIntlText,
  741.                 "the name", reserved,
  742.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  743.                 /* [4] */
  744.             "selection", pUserSelection, cSelection,
  745.                 "the selection visible to the user", reserved,
  746.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  747.                 /* [5] */
  748.             "version", pVersion, cVersion,
  749.                 "the version number of the application", reserved,
  750.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  751.                 /* [6] */
  752.             "class", pClass, cType,
  753.                 "the class", reserved,
  754.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  755.             },
  756.             {    /* array Elements: 2 elements */
  757.                 /* [1] */
  758.                 cDocument,
  759.                 {    /* array KeyForms: 2 elements */
  760.                     /* [1] */
  761.                     formAbsolutePosition,
  762.                     /* [2] */
  763.                     formName
  764.                 },
  765.                 /* [2] */
  766.                 cWindow,
  767.                 {    /* array KeyForms: 2 elements */
  768.                     /* [1] */
  769.                     formAbsolutePosition,
  770.                     /* [2] */
  771.                     formName
  772.                 },
  773.                 /* [3] */
  774.                 cPalette,
  775.                 {    /* array KeyForms: 2 elements */
  776.                     /* [1] */
  777.                     formAbsolutePosition,
  778.                     /* [2] */
  779.                     formName
  780.                 }
  781.             },
  782.             /* [2] */
  783.             "applications",
  784.             cApplication,
  785.             "Every application",
  786.             {    /* array Properties: 1 elements */
  787.                 /* [1] */
  788.             "", kAESpecialClassProperties, cType,
  789.                 "", reserved,
  790.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  791.             },
  792.             {    /* array Elements: 0 elements */
  793.             },
  794.             /* [3] */
  795.         "character", cChar,
  796.             "A character",
  797.             {    /* array Properties: 9 elements */
  798.                 /* [1] */
  799.             "color", pColor, cRGBColor,
  800.                 "the color", reserved,
  801.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  802.                 /* [2] */
  803.             "font", keyAEFont, cText,
  804.                 "the name of the font", reserved,
  805.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  806.                 /* [3] */
  807.             "size", pPointSize, cFixed,
  808.                 "the size in points", reserved,
  809.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  810.                 /* [4] */
  811.             "writing code", pScriptTag, cIntlWritingCode,
  812.                 "the script system and language", reserved,
  813.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  814.                 /* [5] */
  815.             "style", pTextStyles, cTextStyles,
  816.                 "the text style", reserved,
  817.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  818.                 /* [6] */
  819.             "uniform styles", pUniformStyles, cTextStyles,
  820.                 "the text style", reserved,
  821.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  822.                 /* [7] */
  823.             "class", pClass, cType,
  824.                 "the class", reserved,
  825.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  826.             },
  827.             {    /* array Elements: 2 elements */
  828.                 /* [1] */
  829.                 cChar,
  830.                 {    /* array KeyForms: 1 elements */
  831.                     /* [1] */
  832.                     formAbsolutePosition
  833.                 },
  834.                 /* [2] */
  835.                 cText,
  836.                 {    /* array KeyForms: 1 elements */
  837.                     /* [1] */
  838.                     formAbsolutePosition
  839.                 }
  840.             },
  841.             /* [4] */
  842.         "characters", cChar,
  843.             "Every character",
  844.             {    /* array Properties: 1 elements */
  845.                 /* [1] */
  846.             "", kAESpecialClassProperties, cType,
  847.                 "", reserved,
  848.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  849.             },
  850.             {    /* array Elements: 0 elements */
  851.             },
  852.             /* [5] */
  853.         "document", cDocument,
  854.             "A document",
  855.             {    /* array Properties: 6 elements */
  856.                 /* [1] */
  857.             "modified", pIsModified, cBoolean,
  858.                 "Has the document been modified since the last save?", reserved,
  859.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  860.                 /* [2] */
  861.             "name", pName, cIntlText,
  862.                 "the name", reserved,
  863.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  864.                 /* [3] */
  865.             "selection", pSelection, cSelection,
  866.                 "the selection visible to the user", reserved,
  867.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  868.                 /* [4] */
  869.             "class", pClass, cType,
  870.                 "the class", reserved,
  871.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  872.             },
  873.             {    /* array Elements: 1 elements */
  874.                 /* [1] */
  875.                 cFile,
  876.                 {    /* array KeyForms: 2 elements */
  877.                     /* [1] */
  878.                     formAbsolutePosition,
  879.                     /* [2] */
  880.                     formName
  881.                 }
  882.             },
  883.             /* [6] */
  884.         "documents", cDocument,
  885.             "Every document",
  886.             {    /* array Properties: 1 elements */
  887.                 /* [1] */
  888.             "", kAESpecialClassProperties, cType,
  889.                 "", reserved,
  890.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  891.             },
  892.             {    /* array Elements: 0 elements */
  893.             },
  894.             /* [7] */
  895.         "file", cFile,
  896.             "A file",
  897.             {    /* array Properties: 5 elements */
  898.                 /* [1] */
  899.             "stationery", pIsStationeryPad, cBoolean,
  900.                 "Is the file a stationery file?", reserved,
  901.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  902.                 /* [2] */
  903.             "name", pName, cIntlText,
  904.                 "the name", reserved,
  905.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  906.                 /* [3] */
  907.             "class", pClass, cType,
  908.                 "the class", reserved,
  909.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  910.             },
  911.             {    /* array Elements: 0 elements */
  912.             },
  913.             /* [8] */
  914.         "files", cFile,
  915.             "Every file",
  916.             {    /* array Properties: 1 elements */
  917.                 /* [1] */
  918.             "", kAESpecialClassProperties, cType,
  919.                 "", reserved,
  920.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  921.             },
  922.             {    /* array Elements: 0 elements */
  923.             },
  924.             /* [9] */
  925.         "selection-object", cSelection,
  926.             "the selection visible to the user",
  927.             {    /* array Properties: 4 elements */
  928.                 /* [1] */
  929.             "contents", pContents, cType,
  930.                 "the contents of the selection", reserved,
  931.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  932.                 /* [2] */
  933.             "class", pClass, cType,
  934.                 "the class", reserved,
  935.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  936.             },
  937.             {    /* array Elements: 0 elements */
  938.             },
  939.             /* [10] */
  940.         "text", cText,
  941.             "Text",
  942.             {    /* array Properties: 10 elements */
  943.                 /* [1] */
  944.             "", kAESpecialClassProperties, cType,
  945.                 "", reserved,
  946.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural,
  947.                 /* [2] */
  948.             "color", pColor, cRGBColor,
  949.                 "the color of the first character", reserved,
  950.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  951.                 /* [3] */
  952.             "font", pFont, cText,
  953.                 "the name of the font of the first character", reserved,
  954.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  955.                 /* [4] */
  956.             "size", pPointSize, cFixed,
  957.                 "the size in points of the first character", reserved,
  958.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  959.                 /* [5] */
  960.             "writing code", pScriptTag, cIntlWritingCode,
  961.                 "the script system and language of the first character", reserved,
  962.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  963.                 /* [6] */
  964.             "style", pTextStyles, cTextStyles,
  965.                 "the text style of the first character", reserved,
  966.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  967.                 /* [7] */
  968.             "uniform styles", pUniformStyles, cTextStyles,
  969.                 "the text styles that are uniform throughout the text", reserved,
  970.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  971.                 /* [8] */
  972.             "class", pClass, cType,
  973.                 "the class", reserved,
  974.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  975.             },
  976.             {    /* array Elements: 2 elements */
  977.                 /* [1] */
  978.             cChar,
  979.                 {    /* array KeyForms: 1 elements */
  980.                     /* [1] */
  981.                     formAbsolutePosition
  982.                 },
  983.                 /* [2] */
  984.             cText,
  985.                 {    /* array KeyForms: 1 elements */
  986.                     /* [1] */
  987.                     formAbsolutePosition
  988.                 }
  989.             },
  990.             /* [11] */
  991.             "text style info",
  992.             cTextStyles,
  993.             "On and Off styles of text run",
  994.             {    /* array Properties: 2 elements */
  995.                 /* [1] */
  996.             "on styles", keyAEOnStyles, enumStyle,
  997.                 "the styles that are on for the text", reserved,
  998.                 listOfItems, enumerated,
  999.                 readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1000.                 /* [2] */
  1001.             "off styles", keyAEOffStyles, enumStyle,
  1002.                 "the styles that are off for the text", reserved,
  1003.                 listOfItems, enumerated,
  1004.                 readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  1005.             },
  1006.             {    /* array Elements: 0 elements */
  1007.             },
  1008.             /* [12] */
  1009.             "text style infos",
  1010.             cTextStyles,
  1011.             "every text style info",
  1012.             {    /* array Properties: 1 elements */
  1013.                 /* [1] */
  1014.             "", kAESpecialClassProperties, cType,
  1015.                 "", reserved,
  1016.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  1017.             },
  1018.             {    /* array Elements: 0 elements */
  1019.             },
  1020.             /* [13] */
  1021.         "window", cWindow,
  1022.             "A window",
  1023.             {    /* array Properties: 15 elements */
  1024.                 /* [1] */
  1025.             "bounds", pBounds, cQDRectangle,
  1026.                 "the boundary rectangle for the window", reserved,
  1027.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1028.                 /* [2] */
  1029.             "closeable", pHasCloseBox, cBoolean,
  1030.                 "Does the window have a close box?", reserved,
  1031.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1032.                 /* [3] */
  1033.             "titled", pHasTitleBar, cBoolean,
  1034.                 "Does the window have a title bar?", reserved,
  1035.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1036.                 /* [4] */
  1037.             "index", pIndex, cLongInteger,
  1038.                 "the number of the window", reserved,
  1039.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1040.                 /* [5] */
  1041.             "modal", pIsModal, cBoolean,
  1042.                 "Is the window modal?", reserved,
  1043.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1044.                 /* [6] */
  1045.             "resizable", pIsResizable, cBoolean,
  1046.                 "Is the window resizable?", reserved,
  1047.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1048.                 /* [7] */
  1049.             "zoomable", pIsZoomable, cBoolean,
  1050.                 "Is the window zoomable?", reserved,
  1051.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1052.                 /* [8] */
  1053.             "zoomed", pIsZoomed, cBoolean,
  1054.                 "Is the window zoomed?", reserved,
  1055.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1056.                 /* [9] */
  1057.             "name", pName, cIntlText,
  1058.                 "the title of the window", reserved,
  1059.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1060.                 /* [10] */
  1061.             "selection", pSelection, cSelection,
  1062.                 "the selection visible to the user", reserved,
  1063.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1064.                 /* [11] */
  1065.             "class", pClass, cType,
  1066.                 "the class", reserved,
  1067.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  1068.             },
  1069.             {    /* array Elements: 1 elements */
  1070.                 /* [1] */
  1071.                 cDocument,
  1072.                 {    /* array KeyForms: 2 elements */
  1073.                     /* [1] */
  1074.                     formAbsolutePosition,
  1075.                     /* [2] */
  1076.                     formName
  1077.                 }
  1078.             },
  1079.             /* [14] */
  1080.         "windows", cWindow,
  1081.             "Every window",
  1082.             {    /* array Properties: 1 elements */
  1083.                 /* [1] */
  1084.             "", kAESpecialClassProperties, cType,
  1085.                 "", reserved,
  1086.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  1087.             },
  1088.             {    /* array Elements: 0 elements */
  1089.             },
  1090.             /* [15] */
  1091.         "palette", cPalette,
  1092.             "A floating palette",
  1093.             {    /* array Properties: 15 elements */
  1094.                 /* [1] */
  1095.             "bounds", pBounds, cQDRectangle,
  1096.                 "the boundary rectangle for the palette", reserved,
  1097.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1098.                 /* [2] */
  1099.             "closeable", pHasCloseBox, cBoolean,
  1100.                 "Does the palette have a close box?", reserved,
  1101.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1102.                 /* [3] */
  1103.             "titled", pHasTitleBar, cBoolean,
  1104.                 "Does the palette have a title bar?", reserved,
  1105.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1106.                 /* [4] */
  1107.             "index", pIndex, cLongInteger,
  1108.                 "the number of the palette", reserved,
  1109.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1110.                 /* [5] */
  1111.             "floating", pIsFloating, cBoolean,
  1112.                 "Does the palette float?", reserved,
  1113.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1114.                 /* [6] */
  1115.             "resizable", pIsResizable, cBoolean,
  1116.                 "Is the palette resizable?", reserved,
  1117.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1118.                 /* [7] */
  1119.             "zoomable", pIsZoomable, cBoolean,
  1120.                 "Is the palette zoomable?", reserved,
  1121.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1122.                 /* [8] */
  1123.             "zoomed", pIsZoomed, cBoolean,
  1124.                 "Is the palette zoomed?", reserved,
  1125.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1126.                 /* [9] */
  1127.             "name", pName, cIntlText,
  1128.                 "the title of the palette", reserved,
  1129.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1130.                 /* [10] */
  1131.             "selection", pSelection, cSelection,
  1132.                 "the selection visible to the user", reserved,
  1133.                 singleItem, notEnumerated, readWrite, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1134.                 /* [11] */
  1135.             "class", pClass, cType,
  1136.                 "the class", reserved,
  1137.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  1138.             },
  1139.             {    /* array Elements: 0 elements */
  1140.             },
  1141.             /* [16] */
  1142.         "palettes", cPalette,
  1143.             "Every palette",
  1144.             {    /* array Properties: 1 elements */
  1145.                 /* [1] */
  1146.             "", kAESpecialClassProperties, cType,
  1147.                 "", reserved,
  1148.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  1149.             },
  1150.             {    /* array Elements: 0 elements */
  1151.             },
  1152.             /* [17] */
  1153.         "insertion point", cInsertionPoint,
  1154.             "An insertion location between two objects",
  1155.             {    /* array Properties: 3 elements */
  1156.             "class", pClass, cType,
  1157.                 "the class", reserved,
  1158.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  1159.             },
  1160.             {    /* array Elements: 0 elements */
  1161.             },
  1162.             /* [18] */
  1163.         "insertion points", cInsertionPoint,
  1164.             "Every insertion location",
  1165.             {    /* array Properties: 1 elements */
  1166.                 /* [1] */
  1167.                 "",
  1168.                 kAESpecialClassProperties,
  1169.                 cType,
  1170.                 "", reserved,
  1171.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  1172.             },
  1173.             {    /* array Elements: 0 elements */
  1174.             }
  1175.         },
  1176. //----------------------------------------------------------------------------------------
  1177. // ComparisonOps
  1178. //----------------------------------------------------------------------------------------
  1179.         {    /* array ComparisonOps: 8 elements */
  1180.             "starts with", kAEBeginsWith, "Starts with",
  1181.             "contains", kAEContains, "Contains",
  1182.             "ends with", kAEEndsWith, "Ends with",
  1183.             "=", kAEEquals, "Equal",
  1184.             ">", kAEGreaterThan, "Greater than",
  1185.             "≥", kAEGreaterThanEquals, "Greater than or equal to",
  1186.             "<", kAELessThan, "Less than",
  1187.             "≤", kAELessThanEquals, "Less than or equal to"
  1188.         },
  1189. //----------------------------------------------------------------------------------------
  1190. // Enumerations
  1191. //----------------------------------------------------------------------------------------
  1192.         {    /* array Enumerations: 2 elements */
  1193.             /* [1] */
  1194.             enumSaveOptions,
  1195.             {    /* array Enumerators: 3 elements */
  1196.                 "yes", kAEYes, "Save objects now",
  1197.                 "no", kAENo, "Do not save objects",
  1198.                 "ask", kAEAsk, "Ask the user whether to save"
  1199.             },
  1200.             /* [2] */
  1201.             enumKeyForm,
  1202.             {    /* array Enumerators: 3 elements */
  1203.                 "index", formAbsolutePosition, "keyform designating indexed access",
  1204.                 "named", formName, "keyform designating named access",
  1205.                 "ID", formUniqueID, "keyform designating access by unique identifer"
  1206.             }
  1207.         },
  1208.  
  1209. //========================================================================================
  1210. // Miscellaneous Standards
  1211. //========================================================================================
  1212.  
  1213.         /* [3] */
  1214.     "Miscellaneous Standards",
  1215.         "Miscellaneous standard events and classes",
  1216.         'misc',
  1217.         1,
  1218.         1,
  1219. //----------------------------------------------------------------------------------------
  1220. // Events
  1221. //----------------------------------------------------------------------------------------
  1222.         {    /* array Events: 12.1 elements */
  1223.             /* [11.1] */
  1224.         "revert", "Revert an object to its last saved state", kAEMiscStandards, kAERevert,
  1225.             noReply,
  1226.             "",
  1227.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1228.             typeObjectSpecifier,
  1229.             "list of object(s) to revert",
  1230.             directParamRequired, singleItem, notEnumerated, changesState, Reserved12,
  1231.             {    /* array OtherParams: 0 elements */
  1232.             },
  1233.             /* [1] */
  1234.         "cut", "Cut an object to the clipboard", kAEMiscStandards, kAECut,
  1235.             noReply,
  1236.             "",
  1237.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1238.             noParams,
  1239.             "",
  1240.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  1241.             {    /* array OtherParams: 0 elements */
  1242.             },
  1243.             /* [2] */
  1244.         "copy", "Copy an object to the clipboard", kAEMiscStandards, kAECopy,
  1245.             noReply,
  1246.             "",
  1247.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1248.             noParams,
  1249.             "",
  1250.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  1251.             {    /* array OtherParams: 0 elements */
  1252.             },
  1253.             /* [3] */
  1254.         "paste", "Paste an object from the clipboard", kAEMiscStandards, kAEPaste,
  1255.             noReply,
  1256.             "",
  1257.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1258.             noParams,
  1259.             "",
  1260.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  1261.             {    /* array OtherParams: 0 elements */
  1262.             },
  1263.             /* [4] */
  1264.         "redo", "Reverse the action of the immediately preceeding undo", kAEMiscStandards, kAERedo,
  1265.             noReply,
  1266.             "",
  1267.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1268.             noParams,
  1269.             "",
  1270.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  1271.             {    /* array OtherParams: 0 elements */
  1272.             },
  1273.             /* [5] */
  1274.         "undo", "Undo the action of the previous event or user interaction", kAEMiscStandards, kAEUndo,
  1275.             noReply,
  1276.             "",
  1277.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1278.             noParams,
  1279.             "",
  1280.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  1281.             {    /* array OtherParams: 0 elements */
  1282.             }
  1283.         },
  1284. //----------------------------------------------------------------------------------------
  1285. // Classes
  1286. //----------------------------------------------------------------------------------------
  1287.         {    /* array Classes: 4 elements */
  1288.             /* [1] */
  1289.             "menu",
  1290.             'cmnu',
  1291.             "A menu",
  1292.             {    /* array Properties: 5 elements */
  1293.                 /* [1] */
  1294.             "class", 'pcls', 'type',
  1295.                 "The class", reserved,
  1296.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1297.                 /* [2] */
  1298.             "menu ID", 'mnid', 'shor',
  1299.                 "the menu ID for the menu", reserved,
  1300.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1301.                 /* [5] */
  1302.             "name", 'pnam', 'itxt',
  1303.                 "the name", reserved,
  1304.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  1305.             },
  1306.             {    /* array Elements: 1 elements */
  1307.                 /* [1] */
  1308.                 'cmen',
  1309.                 {    /* array KeyForms: 2 elements */
  1310.                     /* [1] */
  1311.                     'indx',
  1312.                     /* [2] */
  1313.                     'name'
  1314.                 }
  1315.             },
  1316.             /* [2] */
  1317.         "menus", 'cmnu',
  1318.             "Every menu",
  1319.             {    /* array Properties: 1 elements */
  1320.                 /* [1] */
  1321.             "", kAESpecialClassProperties, 'type',
  1322.                 "", reserved,
  1323.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  1324.             },
  1325.             {    /* array Elements: 0 elements */
  1326.             },
  1327.             /* [3] */
  1328.         "menu item", 'cmen',
  1329.             "A menu item",
  1330.             {    /* array Properties: 6 elements */
  1331.                 /* [1] */
  1332.             "class", 'pcls', 'type',
  1333.                 "the class", reserved,
  1334.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1335.                 /* [2] */
  1336.             "enabled", 'enbl', 'bool',
  1337.                 "Is the menu item is enabled?", reserved,
  1338.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1339.                 /* [5] */
  1340.             "item number", 'itmn', 'shor',
  1341.                 "the menu item number", reserved,
  1342.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1343.                 /* [6] */
  1344.             "name", 'pnam', 'itxt',
  1345.                 "The name", reserved,
  1346.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular
  1347.             },
  1348.             {    /* array Elements: 0 elements */
  1349.             },
  1350.             /* [4] */
  1351.         "menu items", 'cmen',
  1352.             "Every menu item",
  1353.             {    /* array Properties: 1 elements */
  1354.                 /* [1] */
  1355.             "", kAESpecialClassProperties, 'type',
  1356.                 "", reserved,
  1357.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  1358.             },
  1359.             {    /* array Elements: 0 elements */
  1360.             }
  1361.         },
  1362. //----------------------------------------------------------------------------------------
  1363. // ComparisonOps
  1364. //----------------------------------------------------------------------------------------
  1365.         {    /* array ComparisonOps: 0 elements */
  1366.         },
  1367. //----------------------------------------------------------------------------------------
  1368. // Enumerations
  1369. //----------------------------------------------------------------------------------------
  1370.         {    /* array Enumerations: 1 element */
  1371.             /* [1] */
  1372.             enumQuality,
  1373.             {    /* array Enumerators: 3 elements */
  1374.                 "draft", kAEFast, "image the graphic as quickly as possible",
  1375.                 "regular", kAERegular, "image the graphic normally",
  1376.                 "high", kAEHiQuality, "image the graphic at the highest quality possible"
  1377.             }
  1378.         },
  1379.  
  1380.  
  1381.  
  1382. //========================================================================================
  1383. // MacsBug Suite
  1384. //========================================================================================
  1385.  
  1386.         /* [4] */
  1387.     "MacsBug Suite",
  1388.         "MacsBug commands",
  1389.         kAEMacsBug,
  1390.         1,
  1391.         1,
  1392. //----------------------------------------------------------------------------------------
  1393. // Events
  1394. //----------------------------------------------------------------------------------------
  1395.         {    /* array Events: 1 elements */
  1396.             /* [1] */
  1397.         "check heap", "Check current heap for inconsistencies.", kAEMacsBug, kAEMacsBugHeapCheck,
  1398.             noReply,
  1399.             "",
  1400.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1401.             noParams,
  1402.             "",
  1403.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  1404.             {    /* array OtherParams: 1 elements */
  1405.                 /* [1] */
  1406.                 "zone", keyAEMacsBugZone, enumMacsBugZones,
  1407.                     "specifies which heap",
  1408.                     optional, singleItem, enumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular,
  1409.             },
  1410.         "heap zones", "List all known heap zones.", kAEMacsBug, kAEMacsBugHeapZones,
  1411.             noReply,
  1412.             "",
  1413.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1414.             noParams,
  1415.             "",
  1416.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  1417.             {    /* array OtherParams: 0 elements */
  1418.             },
  1419.         "total heap", "Display a summary of the current heap (Heap Totals)", kAEMacsBug, kAEMacsBugHeapTotal,
  1420.             noReply,
  1421.             "",
  1422.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1423.             noParams,
  1424.             "",
  1425.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  1426.             {    /* array OtherParams: 1 elements */
  1427.                 /* [1] */
  1428.                 "zone", keyAEMacsBugZone, enumMacsBugZones,
  1429.                     "specifies which heap",
  1430.                     optional, singleItem, enumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular,
  1431.             },
  1432.         "display heap", "Display blocks in the current heap", kAEMacsBug, kAEMacsBugHeapDisplay,
  1433.             noReply,
  1434.             "",
  1435.             replyOptional, singleItem, notEnumerated, notTightBindingFunction, Reserved8, verbEvent, Reserved3,
  1436.             noParams,
  1437.             "",
  1438.             directParamOptional, singleItem, notEnumerated, changesState, Reserved12,
  1439.             {    /* array OtherParams: 1 elements */
  1440.                 /* [1] */
  1441.                 "zone", keyAEMacsBugZone, enumMacsBugZones,
  1442.                     "specifies which heap",
  1443.                     optional, singleItem, enumerated, Reserved9, prepositionParam, notFeminine, notMasculine, singular,
  1444.             },
  1445.         },
  1446. //----------------------------------------------------------------------------------------
  1447. // Classes
  1448. //----------------------------------------------------------------------------------------
  1449.         {    /* array Classes: 2 elements */
  1450.             /* [1] */
  1451.             "register",
  1452.             kAEMacsBugRegister,
  1453.             "A register",
  1454.             {    /* array Properties: 1 elements */
  1455.                 /* [1] */
  1456.             "class", 'pcls', 'type',
  1457.                 "The class", reserved,
  1458.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, singular,
  1459.             },
  1460.             {    /* array Elements: 0 elements */
  1461.             },
  1462.             /* [2] */
  1463.             "registers", kAEMacsBugRegister,
  1464.             "Every register",
  1465.             {    /* array Properties: 1 elements */
  1466.                 /* [1] */
  1467.             "", kAESpecialClassProperties, 'type',
  1468.                 "", reserved,
  1469.                 singleItem, notEnumerated, readOnly, Reserved8, noApostrophe, notFeminine, notMasculine, plural
  1470.             },
  1471.             {    /* array Elements: 0 elements */
  1472.             },
  1473.         },
  1474. //----------------------------------------------------------------------------------------
  1475. // ComparisonOps
  1476. //----------------------------------------------------------------------------------------
  1477.         {    /* array ComparisonOps: 0 elements */
  1478.         },
  1479. //----------------------------------------------------------------------------------------
  1480. // Enumerations
  1481. //----------------------------------------------------------------------------------------
  1482.         {    /* array Enumerations: 0 elements */
  1483.             /* [1] */
  1484.             enumMacsBugZones,
  1485.             {    /* array Enumerators: 3 elements */
  1486.                 "system", kAEMacsBugZoneSystem, "System heap",
  1487.                 "theZone", kAEMacsBugZoneApplication, "Application heap",
  1488.                 "user", kAEMacsBugZoneUser, "User heap"
  1489.             },
  1490.         },
  1491.  
  1492.  
  1493.     }
  1494. };
  1495.  
  1496.